package com.yzc.mihuyou.service;

import com.yzc.mihuyou.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yzc.mihuyou.entity.PageWuer;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author 易紫诚
 * @since 2022-04-28
 */
public interface CommentService extends IService<Comment> {
    public Map<String,Object> selCome(int id, PageWuer pageWuer, Integer type, Long uid,Integer userId);
    public int addCome(Comment comment);
    public Comment serCwu(int id);
    public int delect(int id);
    List<Comment>  getComment(long id);
    int upIue(int comId,Boolean b);
}
